package bean;

import java.math.BigDecimal;
import java.util.Date;

public class Staff {
	private String staffId;//员工编号
	private String sName;//姓名
	private String sGender;//性别
	private Date sBirth;//出生日期
	private BigDecimal sWorkyear;//工龄
	private String sPassword;//密码
	private String sPhone;//电话
	private String sRemarks;//备注
	
	public Staff() {
		super();
	}

	public Staff(String staffId, String sName, String sGender, Date sBirth, BigDecimal sWorkyear, String sPassword,
			String sPhone, String sRemarks) {
		super();
		this.staffId = staffId;
		this.sName = sName;
		this.sGender = sGender;
		this.sBirth = sBirth;
		this.sWorkyear = sWorkyear;
		this.sPassword = sPassword;
		this.sPhone = sPhone;
		this.sRemarks = sRemarks;
	}

	public String getStaffId() {
		return staffId;
	}

	public void setStaffId(String staffId) {
		this.staffId = staffId;
	}

	public String getsName() {
		return sName;
	}

	public void setsName(String sName) {
		this.sName = sName;
	}

	public String getsGender() {
		return sGender;
	}

	public void setsGender(String sGender) {
		this.sGender = sGender;
	}

	public Date getsBirth() {
		return sBirth;
	}

	public void setsBirth(Date sBirth) {
		this.sBirth = sBirth;
	}

	public BigDecimal getsWorkyear() {
		return sWorkyear;
	}

	public void setsWorkyear(BigDecimal sWorkyear) {
		this.sWorkyear = sWorkyear;
	}

	public String getsPassword() {
		return sPassword;
	}

	public void setsPassword(String sPassword) {
		this.sPassword = sPassword;
	}

	public String getsPhone() {
		return sPhone;
	}

	public void setsPhone(String sPhone) {
		this.sPhone = sPhone;
	}

	public String getsRemarks() {
		return sRemarks;
	}

	public void setsRemarks(String sRemarks) {
		this.sRemarks = sRemarks;
	}

	@Override
	public String toString() {
		return "Staff [staffId=" + staffId + ", sName=" + sName + ", sGender=" + sGender + ", sBirth=" + sBirth
				+ ", sWorkyear=" + sWorkyear + ", sPassword=" + sPassword + ", sPhone=" + sPhone + ", sRemarks="
				+ sRemarks + "]";
	}
	
}
